home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / ma22#2.zip / MCASM#2.DOC < prev    next >
Text File  |  1992-02-05  |  52KB  |  1,367 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                                MICEPT INSTRUMENTS INC.                               MICEPT INSTRUMENTS INC.
  26.  
  27.                              Cross Assemblers (Series II)                             Cross Assemblers (Series II)
  28.                                      Version 2.20                                     Version 2.20
  29.  
  30.                                     USER'S MANUAL                                    USER'S MANUAL
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                               Micept Instruments Inc.
  57.                               377 Julien St.
  58.                               Cap De La Madeleine, PQ
  59.                               Canada  G8T 6W6
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.           DISCLAIMER          DISCLAIMER
  77.  
  78.           Micept  Instruments  Inc.  disclaims all  warranties  as  to this
  79.           software  and the  documentation,  whether  express  or  implied,
  80.           including,   without  limitation,   any  implied   warranties  of
  81.           merchantability   and  of   fitness  for   any  purpose.   Micept
  82.           Instruments  Inc. assumes  no liability  for  damages, direct  or
  83.           consequential, which may results from the use of this software or
  84.           the documentation.
  85.  
  86.           Information in this document is subject to change without notice.
  87.  
  88.           Copyright (C) 1991, 1992 by Micept Instruments Inc.
  89.  
  90.  
  91.           COPYRIGHT INFORMATION          COPYRIGHT INFORMATION
  92.  
  93.           This version of  the software is  distributed as shareware.  This
  94.           version  may  be  freely copied  and  distributed  for evaluation
  95.           purposes  as  long  as NO  FEE  IS  CHARGE  FOR  USE, COPYING  OR
  96.           DISTRIBUTION (EXCEPT FOR A NOMINAL DISTRIBUTION FEE PROVIDED THAT
  97.           IT IS NO MORE THAN $5 TOTAL) and  as long as THE SOFTWARE PACKAGE
  98.           IS NOT MODIFIED IN ANY WAY.
  99.  
  100.           USE  OF THIS  SOFTWARE  BEYOND  A  REASONABLE  EVALUATION  PERIOD
  101.           REQUIRES REGISTRATION.
  102.  
  103.           The   entire   package,   consisting   of   the   main  programs,
  104.           documentation  file and various  utility files are  all copyright
  105.           (C) 1991, 1992 by Micept Instruments Inc. All rights reserved.
  106.  
  107.  
  108.           Rockwell 6502 is a registered trademark of Rockwell International
  109.           Corporation.
  110.           MS-DOS is a trademark of Microsoft Corporation.
  111.           IBM, PC, XT, AT are trademarks of International Business Machines
  112.           Corporation.
  113.           All   brand  and  product  names  are  trademarks  or  registered
  114.           trademarks of their respective companies.
  115.  
  116.  
  117.  
  118.  
  119.  
  120.                                   TABLE OF CONTENTS                                  TABLE OF CONTENTS
  121.  
  122.  
  123.           1. INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . .   1
  124.  
  125.           2. INSTALLATION . . . . . . . . . . . . . . . . . . . . . . .   1
  126.  
  127.           3. SYSTEM REQUIREMENTS  . . . . . . . . . . . . . . . . . . .   1
  128.  
  129.           4. FILES IN THE PACKAGE . . . . . . . . . . . . . . . . . . .   1
  130.  
  131.           5. FORMAT OF COMMANDS . . . . . . . . . . . . . . . . . . . .   2
  132.  
  133.           6. COMMAND LINE . . . . . . . . . . . . . . . . . . . . . . .   2
  134.                6.1 Invocation . . . . . . . . . . . . . . . . . . . . .   2
  135.                6.2 Options in more details  . . . . . . . . . . . . . .   3
  136.                6.3 Error codes returned to DOS  . . . . . . . . . . . .   4
  137.                6.4 Object code file formats . . . . . . . . . . . . . .   5
  138.                6.5 Environment variable . . . . . . . . . . . . . . . .   5
  139.  
  140.           7. SOURCE LINE FORMAT . . . . . . . . . . . . . . . . . . . .   5
  141.                Label  . . . . . . . . . . . . . . . . . . . . . . . . .   5
  142.                Opcode . . . . . . . . . . . . . . . . . . . . . . . . .   6
  143.                Operand  . . . . . . . . . . . . . . . . . . . . . . . .   6
  144.                Comment  . . . . . . . . . . . . . . . . . . . . . . . .   6
  145.  
  146.           8. EXPRESSIONS IN THE OPERAND FIELD . . . . . . . . . . . . .   6
  147.                8.1 Symbols  . . . . . . . . . . . . . . . . . . . . . .   6
  148.                8.2 Constants  . . . . . . . . . . . . . . . . . . . . .   7
  149.                     Numeric constants . . . . . . . . . . . . . . . . .   7
  150.                     Character constants . . . . . . . . . . . . . . . .   7
  151.                     The location counter  . . . . . . . . . . . . . . .   8
  152.                8.3 Operators  . . . . . . . . . . . . . . . . . . . . .   8
  153.                8.4 How expressions are evaluated  . . . . . . . . . . .   8
  154.  
  155.           9. ASSEMBLER DIRECTIVES . . . . . . . . . . . . . . . . . . .   9
  156.                ACLIST . . . . . . . . . . . . . . . . . . . . . . . . .   9
  157.                DB . . . . . . . . . . . . . . . . . . . . . . . . . . .   9
  158.                DW . . . . . . . . . . . . . . . . . . . . . . . . . . .  10
  159.                END  . . . . . . . . . . . . . . . . . . . . . . . . . .  10
  160.                EQU  . . . . . . . . . . . . . . . . . . . . . . . . . .  10
  161.                LIST . . . . . . . . . . . . . . . . . . . . . . . . . .  10
  162.                LLEN . . . . . . . . . . . . . . . . . . . . . . . . . .  10
  163.                NOACLIST . . . . . . . . . . . . . . . . . . . . . . . .  11
  164.                NOLIST . . . . . . . . . . . . . . . . . . . . . . . . .  11
  165.                ORG  . . . . . . . . . . . . . . . . . . . . . . . . . .  11
  166.                PAGE . . . . . . . . . . . . . . . . . . . . . . . . . .  11
  167.                PLEN . . . . . . . . . . . . . . . . . . . . . . . . . .  11
  168.                REDEF  . . . . . . . . . . . . . . . . . . . . . . . . .  12
  169.                RSB  . . . . . . . . . . . . . . . . . . . . . . . . . .  12
  170.                RSW  . . . . . . . . . . . . . . . . . . . . . . . . . .  12
  171.                SET  . . . . . . . . . . . . . . . . . . . . . . . . . .  12
  172.                SETDP  . . . . . . . . . . . . . . . . . . . . . . . . .  13
  173.                TITLE  . . . . . . . . . . . . . . . . . . . . . . . . .  13
  174.  
  175.  
  176.  
  177.  
  178.  
  179.           Micept Instruments Inc. - Cross Assemblers (Series II)        iii
  180.  
  181.  
  182.  
  183.           10. SPECIAL SECTION ON THE MICROPROCESSORS  . . . . . . . . .  14
  184.                10.1 Motorola 6800 . . . . . . . . . . . . . . . . . . .  14
  185.                10.2 Motorola 6803 . . . . . . . . . . . . . . . . . . .  14
  186.                10.3 Motorola 6805 . . . . . . . . . . . . . . . . . . .  15
  187.                10.4 Motorola 6809 . . . . . . . . . . . . . . . . . . .  15
  188.                10.5 Rockwell 6502 . . . . . . . . . . . . . . . . . . .  16
  189.                10.6 Rockwell 65C02  . . . . . . . . . . . . . . . . . .  16
  190.  
  191.           11. BUG REPORTING PROCEDURE . . . . . . . . . . . . . . . . .  16
  192.  
  193.           12. UPDATE POLICY . . . . . . . . . . . . . . . . . . . . . .  17
  194.  
  195.           13. REGISTRATION  . . . . . . . . . . . . . . . . . . . . . .  17
  196.  
  197.           APPENDIX A - EXPANDED VERSION . . . . . . . . . . . . . . . .  18
  198.  
  199.           ORDERING INFORMATION  . . . . . . . . . . . . . . . . . . . .  19
  200.  
  201.           ORDER FORM  . . . . . . . . . . . . . . . . . . . . . . . . .  20
  202.  
  203.           INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . .  21
  204.  
  205.  
  206.  
  207.  
  208.  
  209.           Micept Instruments Inc. - Cross Assemblers (Series II)          1
  210.  
  211.  
  212.  
  213.           1. INTRODUCTION          1. INTRODUCTION
  214.  
  215.           This  software are shareware distributed versions of high quality
  216.           Macro  Cross Assemblers  which you get  when you  register. These
  217.           versions  however do not support macros, conditional assembly and
  218.           included files like their expanded versions do. This software are
  219.           basic two-pass assemblers for the Motorola 6800, 6803, 6805, 6809
  220.           the Rockwell 6502 and the Rockwell 65C02 microprocessors.
  221.  
  222.           These powerful cross  assemblers for the MS-DOS  operating system
  223.           support  the  complete instruction  set  and  a complete  set  of
  224.           directives. These assemblers can produce formatted  listing files
  225.           and  object code  in